package com.gljx.web.service;

import com.gljx.web.Entity.SubjectTwoRegentry;
import com.gljx.web.Entity.User;

import java.util.List;

public interface SubjectTwoRegentryService {
	
	/**
     * 根据父类id查找子类信息
     * @param fid
     * @return
     */
    List<SubjectTwoRegentry> selSubjectTwoRegentryByParentId(String fid,String studentName);
    
    SubjectTwoRegentry  selSharCarTwoRegBySutid(String lcsjid,String studentid);
    
    SubjectTwoRegentry selChangeCarTwoRegBySutid(String lcsjid,String studentid);
    
    /**
     * 根据父类Id删除子类信息
     * @param parentid
     * @return
     */
    int deleteByParentId(String parentid,User user,String fbizdate,String fnumber);
    
    /**
     * 增加科目二考试登记信息明细
     * @param subjectTwoRegentry
     * @return
     */
    int addSubjectTwoRegentry(SubjectTwoRegentry subjectTwoRegentry);
    /**
     * 根据父类id和学员id查找是否存在记录信息
     * @param parentid
     * @param studentid
     * @return
     */
    SubjectTwoRegentry  selSubjectTwoRegentryByStuid(String parentid,String studentid);
}
